homework4

homework4
implement task4_4
implement task4_5
homework3
add cout mutex protection