Barcodes: A History and How they Work