clean_book function

Clean up the output files and directories from the book