PHP and Javascript implementation of the Game of Life