Some of the solutions to the book thinkpython