Xor Function Explained In Math