add parse_pgn function which can later be used for automated testing

(0) -100 -30 -10 -1 +1 +10 tip

mercurial