Explain Extended Euclidean Algorithm Pseudocode