processing exercise with groovy