Added other version of binary search