Basic ternary tree to hold lexicon.