added gen_single_xor.py