Playing about with Groovy - from book BeginningGroovy