Changed moveSnake2 function to foodCheck function and made changed around
what functions did what to better match their names
Simplified move food functions.
Last commit didn't work. Made moveFood more complicated again. Only way it
doesn't get stuck on side of screen.
Moved all variable declarations to top of script. Fixed some spacing
issues.
Added database function
Merge pull request #49 from jasontowens/cleanUp

Clean up