added inventory function, updated restaurant table in database to hold 323 and time