Computes the evolution of a given grid according to the rules of the Conway's game of life
[B,n]=evolution(A,N,cyc,fig)
matrix with configuration of the original grid
maximum number of generations to be computed
%t for infinite periodic arrangement or %f for finite grid
%t for diplaying plot
matrix with the final configuration of the grid
number of generations computed
evolution computes the evolution of a grid of square cells according to the rules of the Conway's game of life. The simulations will be interrupted if the grid comes to a stable configuration (including death). evolution is a main function of the game_of_life package for Scilab.