Completed InsertionSort