Adding a small program from Chapter 5.