Task: Construct and verify XOR gate logic using only minimum of 4 NAND gates.