Adding a small program from Chapter 4.