Turns window var into private.
Variable constraints.
Add window bounders and behavior.
Add keyboard input and snake movements.