add scoring and snake

I have updated my snake example so that it is actually a full featured snake game. Before it was just a game of dots. 

Works perfectly in Chrome, doesn't work perfectly in Safari. (both desktop)