procpgn.py: a program to process pgn files.