gcd problem add