Added Scala examples #16-20