cellular automata: fix bug
cellular automata: fix bug: a task in smol-software-harbor (Harbor dataset). The game of life in src/life.rs counts a cell as its own neighbour, so blinkers die and blocks grow. Fix neighbours() ; the tests run with rustc --edition 2021 --test -o life tests src/life.rs && ./life tests .
The task
The game of life in `src/life.rs` counts a cell as its own neighbour, so blinkers die and blocks grow. Fix `neighbours()`; the tests run with `rustc --edition 2021 --test -o life_tests src/life.rs && ./life_tests`.
Part of efederici/smol-software-harbor.