3-year-old pupil left badly bruised after she was flogged by teacher