Function to return the minimum possible value of | K - X | where X is the bitwise AND of the elements of some sub - array
def closetAND ( arr , n , k ) : NEW_LINE INDENT ans = sys . maxsize ; NEW_LINE DEDENT