What substantial advantage did the North have over the South at the beginning of the war?