Started trie implementation for interview question