Crude implementation of barcode generator