forgot to increment inventorySize after adding new item
Remade nullValue test to compare current and previous inventory sizes instead of comparing to zero