Professor holds student’s baby so he can take notes