scala lab exercises 131214