making RangeSequence an iterator