Game of Life by Conway (Javascript version)