finished main snake game

TODO: remove a couple of bugs, implement localStorage\