first working version of oo tic tac toe