badly written code of sum two linked list