added list teacher,view teacher and a part of assigning course to teacher function.