util functions: add, remove, search, and get inventory are completed and working properly