learn python hard way exercise 3