Create generate-prime.cc