shell sort flow
some comments were added to the second exercise, quicksort