the exercise of the book learn python the hard way