return grid[row][column];
}
public NeuralData getConvertedNeuralData(){
NeuralData nd=new NeuralData(width*height,0);
for(int i=0;i<height;i++){
for(int j=0;j<width;j++){
nd.setInputVectorAtIndex(i*j, ((grid[i][j])?TRUE_VAL:FALSE_VAL) );
}
}
return nd;
}