trying to fix insertionSort