Added quicksort implementation