commit of nearly working tic tac toe with looped logic