Item merging when 2 identical items added.
Inventory clearing added.
Definition print for inventory