Created strxor method