Tried to get insertionSort method working.