addToGrocery and addToInventory now use the same helper function
Merge pull request #26 from jsjones27/database

addToGrocery and addToInventory now use the same helper function