Added quicksort, mergesort, and heapsort