CtCI C++ implementations added. 1.1 solved