Check for more elements in array and add separator