Update sample/inventory.lua

- Inventory:new now builds if given parameters
- Added new log key: sequence; this tracks function call order