i bit something more than i can chew. wtf.

for now i am making a simple snake that listens to key inputs. havent
implemented the segments(using queue) though.
created a shim for direction.

because..................... reasons!
added requestAnimFrame and basic snake controls.

no boundaries, food and collision detection yet. :D