Change 'boolean' value to int (standard in c)

I think it's better to code boolean this way, so I put two defines TRUE
and FALSE respectively set to 1 and 0, and I changed the functions which
returned boolean to int.