Adding quicksort implementation