modified the binary_tree.cpp file