quick sort with improvement of calling insertion sort for elements less than cutoff ie 10 elements