Create GCD.cpp file.

Add two implementation of GCD.