Adding Maximizing XOR Solution