Add binary search solution.