Created a generic list merger