Scala Sample programs