[add] Added class for Trie implementation.