binary search tree code with c++