xrange was removed in python3