some scala simple samples