scala examples