Some simple quicksort implementations