C++ Tutorial/STL Algorithms Binary search