class exercice on groovy (oct 2013)