TrieStructure working