Man arrested for child endangerment