Add tripple-array trie and double-array trie implement