Officer finds gun on 13-year-old student