Programming Groovy 2 - following the book by Venkat Subramaniam - Chapter2