The idea of a united Africa was conceived four decades ago by Ghana 's first president , Kwame Nkrumah .