Added the use of the WriteOutput class
Class for writing the sorted array to file
Placed the fillArray in the new thread
Added many lines to test different count of threads
Added the filling of the new array here instead of in the main thread