Added working GCD
Added working GCD