Starting binary search
Solved using recursion
Fixed endless search fail