Added strxor function