added write(boolean) & toInt
Merge branch 'master' of https://github.com/BlindWanderer/QRKeySecure
better (i keep finding silly mistakes)