adding the utility class ArrayIterator