Update binsearch.cpp