Completed first iteration of the Producer Consumer example code.