JavaScript implementation of the Game of LIfe