Update TernarySearchTree.java