OSSP lab 3 (Producer - Monitor - Consumer)