Exercises from learn python the hard way