a solution to the BinarySearch function that don't find the index n°1