Implementation of flatten for Iterator[Any] could be found in main/scala/iter.

Validation of advertisement is implemented in main/scala/validation.

Tests are placed in packages with respective names under test/scala.

To build project run sbt compile. To run tests run sbt test.