Java code to schedule class, room, lessons and teachers.