- Added fully implemented TernaryTrie class and associated tests.