change TernarySearch.cpp