Producer and Consumer code is somewhat work. Can insert and remove items in circular order but there seems to be a deadlock.