Coding Practice following Thinking in Java