Conway's Game of life - ES6 JavaScript implementation