FINALLY ALL IS PROVEN! IT WORKS!!!!!!!
Not the prettiest code but it works! Prettifying can be done later.

Next step is to merge it with g2log +++ maybe afterwards start writing
an article