added xor.c