cleaned up tictactoe