Create gcd.cpp

iterative gcd