Create xgcd.cpp