Adding another small program from Chapter 2.