C++ RPG Inventory