Add new ChainGenerator class, add .gitignore, formatting fix for README.rst
Merge branch 'chain-generator' of github.com:beltex/gs-algo into chain-generator