Writer as Coder: The Iterative Way to Write a Book