QS3

3-way quicksort implemented