gcd - greatest common divisor added based on Eucleadean algorythm