add a exercise of sorting algorithm