Basic multithreading for n number of threads done.