Python3 does not have xrange