move static functions from CreateBinaryTree to BinaryTree