Added an example of the Iterator pattern