you can use 4 nand gates to make a xor gate