finished quickSort