Exercises from the book, "The Art and Scienve of Java"