Chessboard generation class implementation.