lWe
want to define an Iterator for a ClosedList.
lFor
read-only Iteration, the Iterator class can be
defined outside the ClosedList class.
lFor
modification, such as remove(), it is sometimes necessary for the Iterator to change
part of the list itself.