Experiment how to create a functional style "each" over an iterator and then, by using an anonymous class, attempt to create methods within context.