Problem 134 added

extended Euclid's algorithm