Added preliminary logic for determining a tic tac toe winner.