Modified the logic for the updatePatronInfo() and updateItemInfo(). Added methods to check the number of items in the Patrons array.