Improved Inventory toString method