Added an example ported from Peter Norvig's PAIP.

This is from Chapter 13, demonstrating maintaining and manipulating state via
closures.