The Euclidean algorithm is one of the oldest numerical algorithms commonly used to solve the problem of computing the greated common divisor (gcd) of two positive integers.
There are three main implementations of the Euclidean algorithm:
Here, we recursively subtract the smaller number from the larger number
/**