Create treeclass.cpp