A basic tictactoe Game with win detection