adding barcode1d.hpp