Added quicksort with three different types of pivot points: first, last, median of three