Added makefile and made some changes to GeneratePrime.cpp