Python Extended Euclidean Algorithm To Find