On Sunday, 5 January 2020 at 08:21:54 UTC, Teo wrote: > All advises are welcome > Thank you! For some reason I can't get run.dlang.io to shorten a link... hmm... I'll use ideone. https://ideone.com/EjbhIs It's kind of a naive implementation, there probably is room for improvement but should work for start.