Iterations in scala
Patterns in scala