sequential quicksort working