add iterators to array class