Added a quicksort algorithm