Add binary search algorithm