Correct tic-tac-toe logic implemented.