input: Write a python function to perform the XOR operation on two boolean values.
  assert xor(True, False) == True
  assert xor(False, True) == True
  assert xor(True, True) == False
  assert xor(False, False) == False
output: def xor(a, b):
      return a != b