Adding linked list and reversing linked list