Solve huge gcd
Merge pull request #49 from shengmin/math

Solve huge gcd