xrange -> range

Trying to get it to work in both python 2 and 3