Generate chessboard