Create recoverTree.java