Use range instead of xrange in case anyone ever uses Python 3 :-)