xrange no longer exists in Python 3.

range now behaves like xrange did in Python 2.

http://docs.python.org/3.1/whatsnew/3.0.html