groostav
val result = sourceList.fold(listOf(0 to 0)) { accum, next -> accum += accum.last().second to next }