Create recoverTree.cpp