Proj_1 Problem 4

Implement the producer and consumer in Communicator