Move texture-creation code to new createTexture() method
Remove "p" parameter from setRandom() method
Convert the simulation state from Uint8Array to boolean[]
Move get() method
Create and use "totalCells" property