Example code based on Kotlin the new open source JVM language