A simple Ternary String Trie with Prefix matching implemented. This
is very useful for say predictive text input and so on.