Implement Quick sort and dutch sort