Typo fixes.

Corrected variable typo on line 41. Changed "int" to "bool", to reflect the prototype on line 55.