Implemented the Iterator Design Pattern -- my version with containers