Inventory tested and debugged

-Will add STL-like support later