Converted the board to a 2D array