fixed a bug in algoritmi.h ; added Extended Euclid