Skeleton for InsertionSort