Solutions for the exercises in 《Thinking in Java 4th edition》