Added assigning of teacher to course example