Added an example ported from Peter Norvig's PAIP.

This is from Chapter 13, demonstrating maintaining and manipulating state via
closures.
Merge pull request #27 from oubiwann/develop

Added an example ported from Peter Norvig's PAIP.