Exercise 2: Inventory Constructor