A center of black culture and history, the New York neighborhood of Harlem welcomed the news that Barack Obama had been elected the first black president with a loud celebration.