Some scala examples