Source code associated with "Error Correction Coding for Barcodes"