last documentation writen, in the code

I have wirten the principle of the algorithm in comments, in the
generate_graphs file.