Exercises from the Accelerated C++ book