Added boolean variables and printing of booleans