added pygn.py to repo