Demo program for Scala