Adding binary search.