solution & tests q1,q2
Merge branch 'master' of github.com:galando/scala99