append() function that appends two iterables