fixed typo in getopts in parsePGN. Fixed bad loop dec in scorePGN