shell sort as insertion sort with a gap between comparing indexes