A bunch of basic quicksort implementations, etc.