Code example for ListIterator

Methods: hasNext, hasPrevious, nextIndex, previous, previousIndex