Added C++ debug utils. Cleared debug from tree class