pub fn compute_gcd(x: i64, y: i64) -> Result<i64>
Computes greatest common divisor using Binary GCD algorithm.