Adds quicksort algorithm