Example of consumer producer pattern implementing java.util.concurrent.Executor and using only monitors.