Added Inventory class function getItemByName().
Added test for getItemByName in main.cpp: