mergeItems function

merging items by having 2 inventory item pointers sent to the function
it'll search through the .txt document and "merge the items"