A small autocomplete example using a Trie data structure