Added born/dead functions for mouse-clicked cells.