Added some more unit tests.

Distinguished SNAKE_HEAD from SNAKE_BODY CellType.
Converted the state to use a 1D rather than a 2D array for the game board.