Fixing the problem with mistakes in Tic Tac Toe