Commit before school, added some functions to the inventory, and item class.