// How do I check if two words over the Grigorchuk group alphabet are conjugate and if so find a conjuator?
set< Word > conjugators = TheGrigorchukGroupAlgorithms::findConjugator_Kcosets( w , w2 );
if( conjugators.size( )!=0 ) {
cout << "Words are conjugate" << endl;
cout << "A few conjugators are:" << endl;
for( set< Word >::const_iterator c_it=conjugators.begin( ) ; c_it!=conjugators.end( ) ; ++c_it )
cout << " " << *c_it << endl;
} else {
cout << "Words are not conjugate" << endl;
}
return 0;
}