A demo of Iterator Design Pattern