Fixed the inventory system. Now allows for removal of items.

Problem was in inventoryNum. It was indexing from 1 rather than 0.