Create prime-gen.cpp