Was the war with Mexico justified? Or did the United States go to war in order to take territory it wanted from Mexico?