add the thread for merge sort
add an implementation for merge sort