fixed insertionSort theoretically

still gives NullPointerException