streamlined JFlex example to mark exams