Write a function xor that takes two Boolean values. If both values are different, the result should be true. If both values are the same, the result should be false.