Conway's Life Simulation, in JavaScript