Removed expermintal #include<thread> from main.cpp, it was not needed.