Add extended Euclidean algorithm and modular inverse