Teacher arrested for beating 8-year-old