Implementation of the game Tic Tac Toe