Adding support for basic type bool.
Merge PR #5 (support type `bool`)