Added win state and unit tests for win state in GridModel.