Fix a bug in UpcE generation

Method accepted data of three different lengths, but work correctly only with 12 symbols long barcodes. Now it should work right with all three lengths.