Code samples of the book Thinking Recursively in python