Implemented and tested producer - consumer