Partition works, quickselect doesn't, didn't even try quicksort