Create the greatest common divisor (GCD)

Calculates the greatest common divisor (GCD) of given two numbers.