Give the inventory class a default constructor

members of the class initialize themselves, the boolean is initialized explicitly.