renamed  range  to xrange (like in 2.x python)