added Boolean

I added some Boolean code and variables.