Learn python the hard way ex16-ex17