add some sorting algorithms.

selection sort, bubble sort, merge sort, quick sort, heap sort.