simple in place quicksort