added mergeList.c