first four challenges seem to be ok

Needs intellij community edition with scala plugin