fn fen_to_castling(board: &mut Board, castling: &str) -> Result<(), String>
Parses FEN’s castling rights and stores them into the board. Returns Err with the proper error message if castling couldn’t be parsed.
board
castling