Teens brought loaded gun to middle school