Student hospitalized after beaten by teacher, principal at B