remove the unused code
add one attribute in Cell instead of currentLayout in GameOfLife