gcd function
Problem 455