fix some bugs, and add merge-sort in Linklist