Added the bottom-up part
Merge branch 'master' of https://github.com/sildar/algo_chaines