How did bad behavior in school become a crime?