Classes to solve Producer Consumer Problem.