Fix the implementation of the `compute_alive_nearby_cells` method in the `GameOfLife` class. The method
is currently not taking account of the fact that grids have a limited size, and thus may index out of bounds.
