it works! it fucking sucks, but it works....

serious performance issues
code is written terribly, llike it repeats some stuff several times throughout the whole thing... 
THERE IS NO OUTPUT YET.