computer generates moves randomly
updated tic-tac-toe