quickSort in C