Resolves issue #2
Created Inventory class to extract inventory related logic from Player.