game-of-life: Simplify neighbouro

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>