Working through Thinking in C++ book