Initial commit of some C++ code.