Fix NameError: global name 'xrange' is not defined on Python 3
Merge pull request #31 from cgohlke/patch-1

Fix NameError: global name 'xrange' is not defined on Python 3