How did the North, South, and West contributed to the Civil War outcome?