T9 predictive text using Trie