Thoughtworks interview question

XOR implimentation