Added recursive gcd.