First edition

Lib and test file (lib documentation on python)