I was trying to find a way to display a table from a 2D Array. At the moment I cant get anything to display, a simple bool 1/0 is desired. Any Advice would be appreciated.
var Matrix = [
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0,0,1,0,1],
[0,0,0,0,0,1,1,0,0,1,0,0,0,1,0,1,0,0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