python programs from learn python the hard way