How did contributions of woman and minority groups affect the outcome of the war and view of race and gender in the United States ?