After a ten year struggle, Haiti was the first nation in Latin America to gain independence in 1804. How did Haiti win independence from France?