Added TrieSet and TestTrieSet.