Added a function to show the inventory.