def min_conflicts_value(csp, var, current):
return argmin_random_tie(csp.domains[var],<EOL>lambda val: csp.nconflicts(var, val, current))<EOL>
Return the value that will give var the least number of conflicts.
    If there is a tie, choose at random.