added compare functio to generator
added compare functio to generator
Merge branch 'master' of https://github.com/Pigmassacre/BarcodeScanner