Please note that Inventory.cpp has been reposted with a correction to the constructor that throws an exception. Before throwing an exception, we must initialize the fields!