Created a multithreaded Consumer-Producer System