Added solution for Maximizing XOR