Producer Consumer Problem with Semaphores - edufulness