Add an iteration example

See #40