Beyndt at implementere producer/consumer