How did the federal government attempt to reconstruct the South after the Civil War and what was the nature of the challenges that arose?