Implementation of rangeIterator for store.

I somehow forgot I was looking at an iterator. Scratch that.