GCD

Added gcd as a function