Initial quickSort implementation