Run in sulfurous for much better performance. https://sulfurous.aau.at/#228245855 press space to pause click while paused to randomize the array
@LiquidMetal for 2D arrays.