Create snake-grid.js