Added test for game win and win algorithm.