Nigeria has become the latest country to ratify the Paris Climate agreement, which aims to avoid the most devastating effects of climate change by cutting carbon emissions.