The combsort algorithm implementation.