assign students and teachers to subject done