Added an in-place implementation of quicksort.