Adding a simple ternary tree.