added 3way quicksort, partition and merge are fully working