How can creating art be like solving math problems? Amanda Miller discusses the ways in which writing her book has healed her.