two exercises translated to scala
Merge pull request #2 from LindaGulz/master

two exercises translated to scala