Add binary search method