Notepad draft from yesterday:
http://www.ioftpd.com/~darkone/tmp/stupid.txt
As usual example does not compile, nor has any real functionality. Idea of example is to show, complexity (and or simplicity) of algorithms in use. For legal reasons I have to mention that, one is not allowed to use this code or its' director or indirect derivants without my permission.