Create snake.class.js