Yes,
You have used teachersTimeTable. But in your program there should be atleast declaration of teachersTimeTable matrix as rows and column.
You have used teachersTimeTable. But in your program there should be atleast declaration of teachersTimeTable matrix as rows and column.