Update 2_primegen.cpp

Fucking finally. Had to lookup a faster sieve, had to reference the book, had to fix minor mistakes, had to reference a list of primes.