Generates the chains starting from the last word.
Merge pull request #1 from Alberdi/backwards

Generates the chains starting from the last word.