Some changes accept bool datatype #include<stdbool.h>