error handling when calling next()

Alteration to throw NoSuchElementException when a user invokes next() on an ArrayIterator that is already exhausted.
Packages renamed