Implement gcd and bitLength methods