oop tic-tac-toe with php