Create Partial sum of list elements