https://numbas.mathcentre.ac.uk/question/11964/apply-extended-euclidean-algorithm-to-find-gcd.zip?