add subject to class moved to addSubjectToTeacher.java