Union and Intersection of two Linked Lists