Using xrange instead of range in py2.
Performance improvements for dealing with large collections.