wrote some things for parsing pgn i dont really like it though