my first scala codes