Update pn_generator.py

fixed some spaces