Update Lecture.java

Added into the commented section, the required method for examLength(course, lecture, int) predicate, "to-Exam Length".