Update ProducerConsumerPattern.java