snake, round one

from
http://thecodeplayer.com/walkthrough/html5-game-tutorial-make-a-snake-game-using-html5-canvas-jquery

needs to be broken up for lessons and commented to within an inch of its
life