added tic-tac-toe strategy