added quicksort, tests