Added support for  booleans.
Was adding extra bytes that were not needed in booleans
Merge pull request #3 from jnfbatista/master

Added support for  booleans.