Added Extended Euclid's Algorithm