The following class, named SquareBoard.java, creates and prints out a game board for games such as Checkers, Chess, or TicTacToe. This means it can create an 8x8 board, a 3x3 board, or a board of any equal (square) dimensions.

The constructor method, a method to print out the board, and the main method are already provided. Your task is to complete a method named fillDiagonals that fills the two diagonals of the board with asterisks.

Notice that this class contains two instance variables: board, the String array containing the elements of the game board and length, the number of squares on each side of the board. Your method needs to use both of these variables.

SquareBoard.java