How did islam spread to north africa