method to assign teacher into a subject done
method to assign student into a subject done