Added algorithm for decider
Merge branch 'master' of github.com:oleks/tpl-f13
Error fixing, small paragraphs added