Basic scala examples