codes in thinkinginjava boos