Add a win-check test
Simplify the win checks

Combine the horizontal, vertical, and diagonal checks into one.
Simplify the win checks