Create cut-the-tree.cpp