Add C++ Primer exercises 2-9 and 2-10.