updated BinaryTree methods, TODO: tests