A simple producer/consumer class to test the queue.