Epam lab2 multithreading