This is an implementation of the tic tac toe game.