created boolean class for lexer