r way trie, ternary search trie