working on binary search
binary search works for everything but element 0 and unfound elements