Slight change to fix conflict with xrange
Adding some work on the third chapter, Figure 3.1 illustrated in python