ArrayIterator class