BinaryTree implementation (add and traverse) methods.