Added the logic for tictactoe. Nobody is notified yet if someone wins.