Working scala programs. I  had to change compiler settings in intellij