Write a program to enumerate all the four combinations of truth values
of P and Q, and tabulate the value of P, Q, not (P or Q), not P and not Q.
This helps you to verify the DeMorgan's Law.
P Q not(P or Q) not P and not Q
=== === === ===
T T F F
T F F F
F T F F
F F T T