tested with jflex java lexer example
finished updating example lexer to required format