working version of tic tac toe number 1