Greatest Common Divisor C