add basic data structure of trie