Print a truth table for the logical operators