Implemented snake game.
Fin.
Finalization.
Input count increments in mode 2.