unsigned int pgcd(unsigned int a, unsigned int b);