create trie sub package
move ternary trie to trie sub directory