Donald Trump appears to have the early advantage in the race for the White House as he is projected to win the first two crucial swing states.