Added beginner's Groovy version.