Republican presidential candidate Donald Trump, visiting Mexico, says that the United States has the right to build a border wall to halt illegal immigration.