Challenge #1 for Chapter 7

Programming Challenge #14 from Chapter 7