Implemented a Trie data structure and corresponding unit tests