Producer Consumer Problem JAva