added tic tac toe constructor