Adds function check which checks to see if any winning scenerio for the player exist & alerts You Win, otherwise it resets the game
Adds function check2 which checks to see if any winning scenerio for AI exists & alerts You lose,then resets the game