Fix tiled version of the simulation algorithm (do not merge yet)

It needs to take neighbourhood into account while computing new tiles' states