hackerrank-1 Solve Maximizing XOR