insertion sort
maximzing xor