Playing with Groovy programme