So what I am looking to do is remove all matches. Meaning my function would remove elements that match like this
[[x,y,a], [a], [b,c,f],[a,[c,g]]] => [[x,y