more then one pathFromRoot possible --> implemented
calculateRootOfSubtree implemented: finds the root of a subtree which contains all given idrefs (does not work correct yet)