Added win condition checking

* The winner checking functions work now
* TODO: The for loop would save a fair amount of code, but I can't get
* it working in the function correctly