Update inventory.c

Update inventory.c with function to view all products in the inventory.
Added function descriptions to searchprod() and viewprod().
Closed the file in searchprod().