Programming experiments in Scala