Scala exercises, algorithms, evaluation and so on