intersection of two linked lists c