Exercise 1: Create Inventory Function