Added function to check win conditions
Added check object to contain functions that check for win conditions being accomplished. Contains five functions: winCondition, a helper function used by the other functions, allConditions, a function that checks the overall win status of a player, and vertical, diagonal, and horizontal, which check the win conditions of their respective types