maximizing-xor challenge resolved