Add states to the game matrix and unit tests for them.

The game matrix is only valid in one of the following states:
    empty, active, x_win, o_win