delete teacher function added