NewEnvXOR function

Generate the problem environment EnvXOR