Exercises! Chapter 4!

Since we're not reading from STDIN (or file) then the chomp is kind of unnecessary.  I generally prefer to use chomp right after grabbing input, rather than in another subroutine.