Create greatestPrimeFactor.cpp