Added solution to gcd