creating perl file to index the pgns
perl script can parse input args