Calculator to find gcd