Simple examples to learn scala