Rename maximum to xor

Changed name to correct name "xor".