learn Python the hard way ex1-ex10