use bool type from C99
Merge pull request #41 from stephen-wolf/master

use bool type from C99