Implemented most of the FEN string validation logic in FenParser