Implement Game of Life in D3