add a simple algorithm gcd