Create snake.js

Snake effect