added Scala language support
added new lines; improved sample
Merge pull request #101 from vkostyukov/master

Scala language support