added bool.h for the boolean type

removing more type-coercion warnings