Added XOR gate.