C++ code for a Search Tree with Breadth and Depth Search implemented