+ $newstable[$cpu][$direction] = $cpus[$nx][$ny];
+ }
+}
+
+for my $direction (0 .. $#diffs) {
+ print "$direction: flag_or_news = {";
+ printf 'latest_news[%2d]', $newstable[0][$direction];
+ for my $cpu (1 .. ($side * $side - 1)) {
+ printf ', latest_news[%2d]', $newstable[$cpu][$direction];