Adding QuickSort implementation.