Two major method of quickSort