multi way searching in string set  with data struct ternary search tree