Update Tree.cpp