define 4 condition variables for 4 threads
Merge github.com:FinalF/Cources