learn python the hard way - exercise codes