A1: throw NoSuchElementException for DequeIterator::next()