Added xrange_six to ensure support in Python 2 and 3.