Added `gcd` function to stdlib.