Generalized win test to allow test for X or O.
Added predictae for testing cat games.