One implementation of a BinaryTree.