Java Inventory Tracker that users can input their inventory via barcode scanner