Polls in most of Pennsylvania, one of the most closely watched swing states, as well as 16 other states, are now closed.