Conways Game of Life in React JS