Added Scala examples #21-24