Example code from the book

These are the examples from the book. Be sure to see the discussion on Squeak 3.2 changes for this code.