Create tree.cpp