computer implementation of  tictactoe in progress