added tic tac toe class to play game