Changed Insertion Sort