Need to create a function which, given a chessboard, returns an integer representing the goodness of the board.
Need to create a function which, given a chessboard, returns an integer representing the goodness of the board.