Added ability to check for wins as well as ability to do a two-player game.