Adding problems solution of linked list