Part 2, times using scala library functions groupBy, mapValues and
toList