Adding examples for Scala and Groovy