xrange -> range, python 3.3 support

in tests and small numbers, so not important on pre-3 pythons
pass at setup.py