Update and rename xgcd.cpp to modinv.cpp