object oriented tic tac toe