Adding more functions to BinaryTree