Game of life implementation in Node.