function demuxTags(muxTags){
let paths = [];
findPaths(muxTags, [], 0);
function findPaths(tags, path, row){
if(row == tags.length){
paths.push(path)
}else{
let choices = tags[row];
choices.forEach((choice)=>{
findPaths(tags,path.concat([choice]),row+1)
})
}
}
return paths;
}