A static analysis tool for PGN files