Added QuickSort with use median