This is an ADT Stack with an iterator.