A professor's heartfelt reflection on empathy and second chances in education went viral on social media when he explained how a childhood lesson affected the way he dealt with a cheating student.