Game of life based on John Horton Conway algorithm