Trie data structure

Trie data structure