In school shootings, patterns and warning signs