Added allocated teacher to the class list