"Create an item factory that produces an item every 10 seconds. The factory can only hold 2 items, while holding 2 items it should stop producing more items."