Lexer for Flex