Made like xrange to avoid memory of whole vector. Only works with step of 1 temporarily.
Works like xrange
Made into random access iterator