Basically, from what I understand so far, what you are looking for is a linked list in your inventory to store all the items. Find out how a linked list works and go ahead from there. You will probably need to
- Add items (check the weight of your current linked list prior to adding the item).
- Remove items.
- Print whatever is in the linked list.