Added and tested boolean and if statement

Tested boolean as true.