Ok, I think I made it: perhaps I left it open for too much time, but the output is recursive so I think it's probably useful, you let me know.
Ok, I think I made it: perhaps I left it open for too much time, but the output is recursive so I think it's probably useful, you let me know.