updated snake.coffee