finished tictactoe ai, added randomized play