join Function to join strings