Mediator Patter  - Producer and Consumer program example