Update gcd.cpp