Wrote generate_inventory_list