Trying out the AC3 algorithm to "colour" a map.