Function that performs binary search to find value less than or equal to first value of the pair
def binary_search ( vec , n , a ) : NEW_LINE INDENT low , high , mid = 0 , 0 , 0 NEW_LINE low = 0 NEW_LINE high = n - 1 NEW_LINE DEDENT