GCD Programming Assignment