Renamed mergesort to quicksort for accuracy