Add Python 3 compatibility for 'xrange()'