Python 3 compatibility for Chapter 1
Python 3 compat for Chapter 2
Python 3 compatibility for Chapter 3
Merge pull request #398 from minrk/py3

Python 3 compatibility for Chapters 1-3