Adding another small program from chapter 1 in HeadFirstJava.