adding xor example for testing