add quicksort, mergesort,permutation and some basic operations