py3: Replace xrange() with range()