I am trying to write a function that takes a list of pairs, ex. [(1,2),(1,4),(2,5),(3,4),(1,8)] and it returns the list of the sum of the second values of each pair, for eac