Replace xrange with range.