Tic Tac Toe, taken from a tutorial.