Added classes for Iterator Pattern