Update threaded_mergesort.c

Add a threshold to the condition deciding to create threads or to use a single thread mergesort.