sum of linked list