Create FSMD based GCD algorithm

GCD-CONTROL PATH