Scala: Reduction, foldLeft, reduceLeft, foldRight, reduceRight, concatenation example