A new algorithm

Hi !

As you wanted on PR https://github.com/jorgebastida/glue/pull/42 , I rework on my code and it is now PEP8. There should be no french comments anymore, and I put all the code in the "glue.py" file.

Thanks,
Julien