Use range instead of xrange for py3 compatibility
Merge pull request #23 from terminalmage/py3-compatibility

Use range instead of xrange for py3 compatibility