Added thread and date_time libs
Added libs for compiling reasons
Fixed task4_5