Coursiera tasks. Course: Functional Programming Principles in Scala