The code for Thinking in Java Exercises