Binary Tree Implemented in C++