adding quicksort to noflask branch