Create gcdcnt.cpp