Reference. Quicksort [hoare1962]