Simple Trie lookup