Init binary search tree.
Modify TreeNode to BinaryNode.
Add ternary tree.