Update pn_generator.py

added a few other prime calculations