add GCD program