first scala code