Reduce duplication in Gapminder exercises