fixes #1009 and fixes #929

added new library to generate binary trees for QTree and put it into the app in order to offer different tree-branching options