Adding tic-tac-toe validator