Fix tiled version of the simulation algorithm

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