I implemented a trie data structure