all basic logic gates designed using only the XOR gate