Added the missing part where the level ends at the end of school teaching session.

closes #12