a tutorial for study scala