Write quickSort