MODULE main DEFINE N := 7; VAR loc : array 1..N of 0..2; c : array 1..N of 0..1; for (k=1;k