alg:added comment on quicksort