add kNumThreads variable to MergeSort class