WRKSHP interview question

implement tic tac toe