sum of 2 in list method 2