>>>Thanks a lot for providing this link, Hilmar.
>>
>>Looks like a fairly tricky problem, doesn't it?
>
>Yes. I think I even would not attempt to understand it. In my 20s I can probably understand, but definitely not now.
I guess you would just have to do some more research, pick some algorithm, and translate it into your favorite programming language - without understanding all the details of the internal working.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)