Community mourns loss of teacher