correct quicksort in pythohn