python 3 does not have an xrange