Conway's Game of Life in Node.js