Code example for ListIterator

Methods: hasNext, hasPrevious, next, previous