appendLists function

Append values to elements of a list from another list