Lexer for Cool programming language written in Flex