Relying wholly on rosettacode.com for quicksort.