Finished maximizing xor challenge