Exercism problems in Groovy