Added Thread capabilities in a producer-consumer pattern
Finalized and integrated the producer-consumer pattern into main