[Trie] alphabetic trie look up algorithm was given