fix xrange NameError under Python 3
Merge pull request #5 from keszybz/master

fix xrange NameError under Python 3