How Tan was inspired to write a book