Report question

Question: Scala List function for grouping consecutive identical elements