balanced bianary tree.cpp