completed problem 4: identify xor