A simple trie (for autocomplete)