Game of Life (for refactoring purposes)