Very raw implementation of quicksort.