print "\n\n"; for (0..3) { my $x = 1 - 2 * ($_ % 2); my $y = 1 - 2 * int($_ / 2); print "\n"; } print "
", join("", "x", "y", "andNeg()", "spaceship()", "mult()", "anchor()"), "
", join("", $x, $y, andNeg($x, $y), spaceship($x, $y), mult($x, $y), anchor($x, $y)), "
\n";