add refactored tictactoe file for comparison