Refactored Teacher-Class

Refactored Teacher-Class for easier understanding
Merge branch 'master' of https://github.com/ironmen-swp/timetable