Best and worst case Quicksort