What advantages did the north have during the civil war