grade.pl: now displays line number for each error (student id, class or answer) in optical data file.