Switch all xrange -> range for Python 3 compatibility.
Merge pull request #11 from kimgr/xrange

Switch all xrange -> range for Python 3 compatibility.