Revert "Adding the ternary search trie"

This reverts commit 4be9e7dad5e475d395fb2898fd9b8c30e474e866.
Adding ternary search trie