Added union function to lists.