Updating InsertionSort