Class for the tic tac toe game