algos: +added binary search