Binary Search and Merge Sort