Tic tac toe exercise.