pgm-003 programming assignment 9, part 4 solution
pgm-003 pa9 cleanup