added tic_tac_toe snippet