[Edit] Added functions to BinaryTree