GenerateEpisodes function

Creates new episodes from old ones