Implemented teacher association with courses.