Added iterator on the BSGS chain.

Cleanup.
Translated Lexicographic.