C++ exercise, add Tree Class, and invoke it in main.cpp.