- Added contains_prefix() function to TernaryTrie to test if
  a prefix exists in the trie.
- Added associated tests in test_ternary_trie.cpp.